[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
outport() Output word to a Hardware Port
#include <dos.h>
void outport(port,word);
int port; Specified port
int word; Word to be output
outport() writes 'word' to the output port specified by 'port'.
Returns: Nothing
Portability: Unique to 8086 family of processors
-------------------------------- Example ---------------------------------
The following statements write a word to port 'x'.
#include <dos.h> /* for outport */
main()
{
int val = 2000;
outport(x,val);
}
See Also:
inport()
inportb()
outportb()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson